<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module Acces</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>Acces</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/geoff/workspace/svn/trunk/DreamPark/modele/Acces.py">/home/geoff/workspace/svn/trunk/DreamPark/modele/Acces.py</a></font></td></tr></table>
    <p><tt>Created&nbsp;on&nbsp;5&nbsp;dec.&nbsp;2014<br>
&nbsp;<br>
@author:&nbsp;Damien&nbsp;Torond&nbsp;et&nbsp;Geoffrey&nbsp;Sentost<br>
Module&nbsp;<a href="#Acces">Acces</a></tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="modele.BorneTicket.html">modele.BorneTicket</a><br>
<a href="modele.Camera.html">modele.Camera</a><br>
</td><td width="25%" valign=top><a href="modele.Client.html">modele.Client</a><br>
<a href="vue.PanneauAffichage.html">vue.PanneauAffichage</a><br>
</td><td width="25%" valign=top><a href="modele.Teleporteur.html">modele.Teleporteur</a><br>
<a href="modele.Voiture.html">modele.Voiture</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Acces.html#Acces">Acces</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Acces">class <strong>Acces</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>La&nbsp;classe&nbsp;<a href="#Acces">Acces</a>&nbsp;modelise&nbsp;les&nbsp;deux&nbsp;entrees&nbsp;du&nbsp;parking,&nbsp;permettant&nbsp;ainsi<br>
de&nbsp;garer&nbsp;ou&nbsp;reprendre&nbsp;une&nbsp;voiture.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Acces-__init__"><strong>__init__</strong></a>(self, parking)</dt><dd><tt>Constructeur&nbsp;de&nbsp;la&nbsp;classe&nbsp;<a href="#Acces">Acces</a>.<br>
Instances&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;parking&nbsp;de&nbsp;la&nbsp;classe&nbsp;Parking<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;panneau&nbsp;de&nbsp;la&nbsp;classe&nbsp;PanneauAffichage<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;teleporteurEntree&nbsp;et&nbsp;teleporteurSortie&nbsp;de&nbsp;la&nbsp;classe&nbsp;Teleporteur<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;camera&nbsp;de&nbsp;la&nbsp;classe&nbsp;Camera<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;borneTicket&nbsp;de&nbsp;la&nbsp;classe&nbsp;BorneTicket</tt></dd></dl>

<dl><dt><a name="Acces-getAffichagePanneau"><strong>getAffichagePanneau</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;appel&nbsp;la&nbsp;methode&nbsp;getAffichage()&nbsp;de&nbsp;la&nbsp;classe&nbsp;PanneauAffichage.</tt></dd></dl>

<dl><dt><a name="Acces-lancerProcedureEntree"><strong>lancerProcedureEntree</strong></a>(self, voiture, bdd)</dt><dd><tt>Methode&nbsp;:&nbsp;On&nbsp;lui&nbsp;passe&nbsp;en&nbsp;parametre&nbsp;une&nbsp;instance&nbsp;de&nbsp;voiture&nbsp;et&nbsp;de&nbsp;la&nbsp;base&nbsp;de&nbsp;donnees.<br>
&nbsp;<br>
Elle&nbsp;va&nbsp;lancer&nbsp;toute&nbsp;la&nbsp;procedure&nbsp;d'entree&nbsp;d'une&nbsp;voiture&nbsp;dans&nbsp;le&nbsp;garage,&nbsp;allumage&nbsp;de<br>
la&nbsp;camera&nbsp;pour&nbsp;capturer&nbsp;l'image&nbsp;de&nbsp;la&nbsp;voiture.<br>
&nbsp;<br>
On&nbsp;va&nbsp;aussi&nbsp;interagir&nbsp;avec&nbsp;la&nbsp;base&nbsp;de&nbsp;donnees&nbsp;pour&nbsp;ajouter&nbsp;une&nbsp;voiture&nbsp;et&nbsp;mettre&nbsp;a&nbsp;jour&nbsp;les&nbsp;donnees<br>
du&nbsp;client.&nbsp;On&nbsp;va&nbsp;gerer&nbsp;ainsi&nbsp;les&nbsp;interactions&nbsp;avec&nbsp;le&nbsp;client&nbsp;et&nbsp;la&nbsp;borne.<br>
&nbsp;<br>
Il&nbsp;faut&nbsp;ensuite&nbsp;gerer&nbsp;le&nbsp;super&nbsp;abonne&nbsp;qui&nbsp;aura&nbsp;une&nbsp;place&nbsp;attribue.&nbsp;On&nbsp;va&nbsp;ainsi&nbsp;gerer&nbsp;le&nbsp;placement<br>
en&nbsp;fonction&nbsp;de&nbsp;l'abonnement&nbsp;et&nbsp;du&nbsp;nombre&nbsp;de&nbsp;places&nbsp;libres.&nbsp;On&nbsp;verifiera&nbsp;si&nbsp;les&nbsp;teleporteurs&nbsp;sont<br>
libres&nbsp;ou&nbsp;non.<br>
&nbsp;<br>
On&nbsp;delivre&nbsp;ensuite&nbsp;le&nbsp;ticket&nbsp;au&nbsp;client&nbsp;qui&nbsp;recapitulera&nbsp;les&nbsp;informations&nbsp;du&nbsp;placement&nbsp;et&nbsp;la&nbsp;date&nbsp;de&nbsp;validite.</tt></dd></dl>

<dl><dt><a name="Acces-lancerProcedureSortie"><strong>lancerProcedureSortie</strong></a>(self, voiture, bdd)</dt><dd><tt>Methode&nbsp;:&nbsp;comme&nbsp;la&nbsp;precedente,&nbsp;elle&nbsp;attend&nbsp;une&nbsp;instance&nbsp;de&nbsp;voiture&nbsp;et&nbsp;de&nbsp;la&nbsp;base&nbsp;de&nbsp;donnees.<br>
&nbsp;<br>
Meme&nbsp;procedure&nbsp;mais&nbsp;pour&nbsp;la&nbsp;sortie&nbsp;en&nbsp;moins&nbsp;complete&nbsp;car&nbsp;il&nbsp;faut&nbsp;juste&nbsp;verifier&nbsp;que&nbsp;le&nbsp;<br>
teleporteur&nbsp;est&nbsp;libre&nbsp;puis&nbsp;interagir&nbsp;avec&nbsp;la&nbsp;borne.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table>
</body></html>